from extensions.serializers import *


class NumberResponse(Serializer):
    number = CharField(label='编号')


class DownloadResponse(Serializer):
    file = FileField(label='Excel文件')

class UploadResponse(Serializer):
    update_count = IntegerField(label='更新数量')
    creat_count = IntegerField(label='新增数量')


class UploadRequest(Serializer):
    file = FileField(label='Excel文件')


class UploadPdfRequest(Serializer):
    file = FileField(label='Pdf文件')


class UploadPhotoResponse(Serializer):
    file = FileField(label='图片文件')


__all__ = [
    'NumberResponse', 'DownloadResponse', 'UploadRequest','UploadPdfRequest'
]
